package com.tzxs.pay.main.login.model;

import com.google.gson.annotations.SerializedName;
import com.tzxs.pay.main.base.BaseBean;

public class User extends BaseBean {


    /**
     * data : {"id":12,"name":"天择信上技术部","phone":"17500001800","type":"merchant","merchant_type":0,"pid":0,"imei":null}
     */

    private DataBean data;
    private String status;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public class DataBean {
        /**
         * id : 12
         * name : 天择信上技术部
         * phone : 17500001800
         * type : merchant
         * merchant_type : 0
         * pid : 0
         * imei : null
         */

        private int id;//用户id
        private String name;//用户名
        private String phone;//用户手机号
        private String type;//用户类型
        @SerializedName("merchant_type")
        private int merchantType;//商户类型
        private int pid;//pid
        private String imei;


        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public int getMerchantType() {
            return merchantType;
        }

        public void setMerchantType(int merchantType) {
            this.merchantType = merchantType;
        }

        public int getPid() {
            return pid;
        }

        public void setPid(int pid) {
            this.pid = pid;
        }

        public String getImei() {
            return imei == null ? "" : imei;
        }

        public void setImei(String imei) {
            this.imei = imei;
        }
    }
}
